package com.amaze.escape.player;

/**
 *
 * @author Amaze Team
 */
public class LightNode {

    /**
     * 
     */
    /**
     * 
     */
    /**
     * 
     */
    public int x, y, z;
    private byte _lightIntens = 0;
    private NODE_TYPE _type;

    /**
     * 
     */
    public enum NODE_TYPE {

        /**
         * 
         */
        SPREAD,
        /**
         * 
         */
        UNSPREAD
    }

    /**
     * 
     * @param x
     * @param y
     * @param z
     * @param lightIntens
     * @param t  
     */
    public LightNode(int x, int y, int z, byte lightIntens, NODE_TYPE t) {
        this.x = x;
        this.y = y;
        this.z = z;
        this._lightIntens = lightIntens;
        this._type = t;
    }

    /**
     * 
     * @param lightIntens
     */
    public void setLightIntens(byte lightIntens) {
        this._lightIntens = lightIntens;
    }

    /**
     * 
     * @return
     */
    public byte getLightIntens() {
        return _lightIntens;
    }

    /**
     * 
     * @return
     */
    public NODE_TYPE getType() {
        return _type;
    }

    /**
     * 
     * @param _type
     */
    public void setType(NODE_TYPE _type) {
        this._type = _type;
    }
}
